/*
    自己定义的css样式
 */

/*
    1. 样式都通过ID去限定
    2. 尽可能多使用直接子代选择器，而非间接子代

 */


/**
    公共样式
 */
body{
    font-family: "Helvetica Neue",
    Helvetica,
    Microsoft YaHei,
    Hiragino Sans GB,
    WenQuanYi Micro Hei,
    sans-serif ;
}
* {
    margin: 0;
    padding: 0;
}

#header {
    margin-bottom: 0;
    background-color: white;
}

#header .topbar {
    line-height: 40px;

}

#header > .topbar {
    height: 40px;
    border-bottom: 1px solid #c0c0c0;
}

#header > .topbar > .container {

}

#header > .topbar > .container > .row > div {
    height: 40px;
    font-size: 12px;
    color: #888;
}

.topbar> .container > .row > div + div {
    border-left: 1px solid #c0c0c0;
}



/*字体声明*/
@font-face {
    font-family: "ziti";
    src: url("../font/MiFie-Web-Font.eot") format("embedded-opentype"),
    url("../font/MiFie-Web-Font.svg") format("svg"),
    url("../font/MiFie-Web-Font.ttf") format("truetype"),
    url("../font/MiFie-Web-Font.woff") format("woff");
}
/*属性选择器 第二个方括号中icon-前面必须有空格 否则 class="col-md-2-icon-" 这个也会被匹配*/
[class^="icon-"],[class*=" icon-"]{
    font-family: ziti;
    font-style: normal;
}

.icon-mobilephone::before{
    content: '\e908';
    font-size: 13px;
}

.container .mobile_link {
    font-size: 12px;
    color: #888;
}

        /* a:hover 选择鼠标在链接上面时 */
.container .mobile_link:hover {
    /*text-decoration 属性规定添加到文本的修饰 none	默认。定义标准的文本。*/
    text-decoration: none;
}

.container .mobile-link:hover > img{
    /*display中block属性：此元素将显示为块级元素，此元素前后会带有换行符。*/
    display: block;
    /*position 属性规定元素的定位类型
    absolute:生成绝对定位的元素，相对于 static 定位以外的第一个父元素进行定位。元素的位置通过 "left", "top", "right" 以及 "bottom" 属性进行规定*/
    position: absolute;
    left: 50%;
    margin-left: -60px;
    top: 28px;
}

.container .mobile-link > img{
    /*图片显示框不显示*/
    display: none;
    /*设置堆叠顺序*/
    z-index: 1001;
}

#header .icon-icon {
    font-size: 50px;
    color: #e92322;
    line-height: 50px;
    vertical-align: middle;
}

#header .icon-logo {
    font-size: 32px;
    color: #333;
    line-height: 50px;
    vertical-align: middle;
}

#nav a {
    color: #888;
}

/*
    头部区域
 */
/*#header{
    height: 200px;
!*    background-color: #f0f0f0;*!
}*/

#header > .topbar{
    height: 40px;
    border-bottom: 1px solid #c0c0c0;
}
#header .affix{
    width: 100%;
    top: 0px;
}
/*#header > .topbar > .container > .row > div{
    background-color: #f40;
    height: 40px;
}

#header > .topbar > .container > .row > div:nth-of-type(2n){
    background-color: #f00;

}*/

.navbar{
    margin-bottom: 0;
}
.affix-top{
/*    padding-right: 15px;
    padding-left: 15px;*/
    /*width: 100%;*/
    background-color: #fff;
    border-color: #f5f5f5;
    margin-bottom: 0px;
    top: 0;
    width: 100%;
/*    margin-left: auto;
    margin-right: auto;*/
}

/*
    通栏广告轮播
 */
#main_ad{}

#main_ad > .carousel-inner > .item{
    /*height: 410px;*/
    background-repeat: no-repeat;
    background-position: center center;
    /*contain 等比例的缩放到容器中没有拉伸。cover会拉伸到整个屏幕*/
    background-size: cover;
}
/*什么时候410px高度不能用:当屏幕宽度小于768px的时候不能使用*/
/*可以通过媒体查询的方式控制 图片的高度*/
@media (min-width: 768px) {
    /*当屏幕宽度大于768时(此时使用大图片)才会执行
    max- 最大是500 不能超过（小于等于）500 都成立
    min- 最小是500 必须超过（大于等于）500 都成立*/
    #main_ad > .carousel-inner > .item{
        height: 410px;
    }
}
/*当图片不够屏幕那么大的时候就会 显示100%铺满整个屏幕*/
#main_ad > .carousel-inner > .item > image{
    width: 100%;
}

/*
    测试样式区域
 */
/*section{
    height: 200px;
    background-color: #fff;
}*/
/*section:nth-of-type(2n){
    !*选择到第1，3，5，7，9.....*!
    background-color: #f5f5f5;
}*/

/*
    特色介绍
 */
#test{
    padding: 50px;
    border-bottom: 1px solid #c0c0c0;
}

#test i {
    font-size: 34px;
}

#test > .container > .row > div{
    margin-top: 20px;
    margin-bottom: 20px;
}

#test > .container > .row >div > a{
    color: #888;
}

#test > .container > .row .div > a:hover{
    color: #666;
    text-display: none;
}

/*.media-left,media-right,media-body{
    display: table-cell;
    !*vertical-align 属性设置元素的垂直对齐方式。
    top	把元素的顶端与行中最高元素的顶端对齐*!
    vertical-align: top;
}*/

#test div{
    margin-bottom: 10px;
}

/*
    立即预约
 */
#ljyy{
    border-bottom: 1px solid #c0c0c0;
    padding: 20px 0;
}

#ljyy > .container > p {
    font-size: 14px;
    margin-bottom: 0;
}
#ljyy > .container > .pull-left > span,
#ljyy > .container > .pull-left >a{
    color: #E92322;
}

/*
    产品推荐
 */
#products{
    background-color: #f0f0f0;
    padding: 40px 0;
}

/*直接这样写pc上也会始终有横向滚动条*/
/*#products > .container > .ul-wapper{
     overflow-x: scroll;
}*/


#products > .container > .ul-wapper > .nav-tabs{

}

#products > .container > .ul-wapper > .nav-tabs > li {

}

#products > .container > .ul-wapper > .nav-tabs >li >a {
    font-size: 16px;
    color: #333333;
    padding-left: 20px;
}

#products > .container > .ul-wapper > .nav-tabs >li >a:hover {
    border-bottom: none;
}

#products > .container > .nav-tabs > li.active {

}
/* li.active 选择类名为 active 的 li 对其生效*/
#products > .container > .nav-tabs > li.active > a {
    background-color: transparent;
    border-bottom: 3px solid red;
}

#products > .container > .nav-tabs > li.active > a:hover {

}

/*产品面板*/
.panel-wjs {
    border: 0;
    border-radius: 3px;
    box-shadow: 1px 1px 5px #f0f0f0;
}

.panel-wjs p{
    margin-bottom: 0;
    text-align: center;
    margin-top: 10px;

}

.panel-wjs > .panel-body {
    margin-right: 120px;
    height: 150px;

}

.panel-wjs > .panel-heading {
    border-color: #ddd;
    float: right;
    width: 120px;
    padding: 45px 0;
    height: 160px;
    border-left: 1px dashed #c0c0c0;/*一个像素的虚线*/
    text-align: center;/*文字显示在中间*/
    position: relative;
}

/*伪元素公共设置*/
.panel-wjs > .panel-heading::before, .panel-wjs > .panel-heading::after {
    content: '';
    width: 15px;
    height: 15px;
    background-color: #f0f0f0;
    border-radius: 50%;/*圆角*/
    position: absolute;/*元素定位*/
}

.panel-wjs > .panel-heading::before {
    left: -8px;
    top: -8px;
}

.panel-wjs > .panel-heading::after {
    left: -8px;
    bottom: -8px;
    box-shadow: 0px 2px 1px #ccc inset;/* inset：内阴影 */
}

.panel-wjs > .panel-heading + .panel-collapse > .panel-body {
    border-top-color: #ddd;

}

.panel-wjs > .panel-heading .badge {
    color: #f5f5f5;
    background-color: #333;
}

.panel-wjs > .panel-footer + .panel-collapse > .panel-body {
    border-bottom-color: #ddd;
}
.tab-content {
    padding-top: 10px;
}

.tab-content .row .panel-body {
    padding: 0;
}


/*
    新闻
 */
#news{
    padding: 50px 0;
    border-bottom: 1px solid #c0c0c0;
}
#news .news-title{
    padding: 15px 0;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    border-bottom: 1px dashed #c0c0c0;
    position: relative;
    margin-right: 10px;
}
#news .news-title::after{
    content: ' '; /*小圆圈*/
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 5px; /*设置圆角边框*/
    border: 1px solid #c0c0c0;
    position: absolute; /*定位：绝对定位*/
    bottom: -5px;
    right: -10px;
}

#news .nav-pills{
    font-size: 20px;
}
#news .nav-pills > li{
    float: none;
    width: 60px;
}

@media (max-width: 768px) {
    #news .nav-pills > li{
        float: left;
        margin-left: 30px;
    }
}

/*
    合作伙伴
 */
#hzhb{
    padding: 30px 0;
}
#hzhb ul{
    padding: 0;
    margin: 0;
    list-style: none;
    width: 818px;
    position: relative;
    overflow: hidden;
}
#hzhb ul li{
    float: left;
}
#hzhb ul li + li{
    border-left: 1px dashed #e0e0e0;
}

#hzhb ul li a{
    padding: 10px 20px;
    font-size: 50px;
    color: #888;
}
#hzhb ul li a:hover{
    text-decoration: none;
}

.icon-uniE930:hover {
    color: #df3232;
}

.icon-uniE930:before {
    content: "\e946";
}

.icon-uniE92F:hover {
    color: #e8380d;
}

.icon-uniE92F:before {
    content: "\e92f";
}

.icon-uniE92E:hover {
    color: #ed6f00;
}

.icon-uniE92E:before {
    content: "\e92e";
}

.icon-uniE92A:hover {
    color: #159f69;
}

.icon-uniE92A:before {
    content: "\e92a";
}

.icon-uniE929:hover {
    color: #07569e;
}

.icon-uniE929:before {
    content: "\e929";
}

.icon-uniE931:hover {
    color: #004098;
}

.icon-uniE931:before {
    content: "\e931";
}

.icon-uniE92C:hover {
    color: #d32019;
}

.icon-uniE92C:before {
    content: "\e92c";
}

.icon-uniE92B:hover {
    color: #3eac4a;
}

.icon-uniE92B:before {
    content: "\e92b";
}

.icon-uniE92D:hover {
    color: #2bb289;
}

.icon-uniE92D:before {
    content: "\e92d";
}


/*
    脚注区域
 */
#footer{
    height: 200px;
}


/*并集选择器*/
.panel.panel-wjs.actived {
    background-color: red;
    color: white;
}

.panel.panel-wjs.actived::before {
    content: "\e915";
    position: absolute;
    font-family: wjs-font;
    font-size: 60px;
    top: -13px;
}

.panel .tooltips {
    position: absolute;
    width: 100px;
    text-align: center;
    top: 30px;;
}

.tab-content .row .panel-heading .badge {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 0;/*去掉园角 */
    border-style: solid;
    background: transparent;/*前景色*/
    border-width: 1px;
    padding: 3px;
}

.tab-content .row .panel-heading .badge-1 {
    color: #E92322;
    border-color: #E92322;
}

.tab-content .row .panel-heading .badge-2 {
    color: #399;
    border-color: #399;
}


/*字符编码*/
.icon-mobilephone::before {
    content: "\e908";
    font-size: 13px;
}

.icon-telephone::before {
    content: "\e909";
    font-size: 15px;
}

.icon-logo::before {
    content: "\e93e";
}

.icon-icon::before {
    content: "\e920";
}

.icon-e907::before {
    content: "\e907";
}

.icon-e906::before {
    content: "\e906";
}

.icon-e905::before {
    content: "\e905";
}

.icon-news1::before{
    content: "\e90e";
    font-size: 28px;
    color: #eaeaea;
}

.icon-news2::before{
    content: "\e90f";
    font-size: 28px;
    color: #eaeaea;
}

.icon-news3::before{
    content: "\e910";
    font-size: 28px;
    color: #eaeaea;
}

.icon-news4::before{
    content: "\e911";
    font-size: 28px;
    color: #eaeaea;
}
.icon-panter::before{
    content: "\e931";
}



/*bootstrap扩展*/
.btn-regi {
    color: #FFFFFF;
    background-color: #E92322;
    border-color: #DB3B43;
}

.btn-regi:hover,
.btn-regi:focus,
.btn-regi:active,
.btn-regi.active,
.open .dropdown-toggle.btn-regi {
    color: #FFFFFF;
    background-color: #E92322;
    border-color: #DB3B43;
}

.btn-regi:active,
.btn-regi.active,
.open .dropdown-toggle.btn-regi {
    background-image: none;
}

.btn-regi.disabled,
.btn-regi[disabled],
fieldset[disabled] .btn-regi,
.btn-regi.disabled:hover,
.btn-regi[disabled]:hover,
fieldset[disabled] .btn-regi:hover,
.btn-regi.disabled:focus,
.btn-regi[disabled]:focus,
fieldset[disabled] .btn-regi:focus,
.btn-regi.disabled:active,
.btn-regi[disabled]:active,
fieldset[disabled] .btn-regi:active,
.btn-regi.disabled.active,
.btn-regi[disabled].active,
fieldset[disabled] .btn-regi.active {
    background-color: #E92322;
    border-color: #DB3B43;
}

.btn-regi .badge {
    color: #E92322;
    background-color: #FFFFFF;
}

/*导航条*/

#nav.navbar-wjs{
    top:0;
    width: 100%;
}

.navbar-wjs {
    background-color: #fff;
    border-color: #f5f5f5;

}

.navbar-wjs .navbar-brand {
    color: #9d9d9d;
    height: 80px;
}

.navbar-wjs .navbar-brand:hover,
.navbar-wjs .navbar-brand:focus {
    color: #fff;
    background-color: transparent;
}

#header #nav_list .my-navbar-right{
    float: right;
    margin-right: 600px;
}

.navbar-wjs .navbar-text {
    color: #9d9d9d;
}

.navbar-wjs .navbar-nav > li {
    height: 50px;
    font-size: 16px;
    line-height: 50px;
}

.navbar-wjs .navbar-nav > li > a {
    color: #9d9d9d;
    line-height: 50px;
    font-size: 14px;
}

.navbar-wjs .navbar-nav > li > a:hover,
.navbar-wjs .navbar-nav > li > a:focus {
    color: #fff;
    background-color: transparent;
    border-bottom: 2px solid red;
}

.navbar-wjs .navbar-nav > .active > a,
.navbar-wjs .navbar-nav > .active > a:hover,
.navbar-wjs .navbar-nav > .active > a:focus {
    color: #fff;
    background-color: transparent;
}

.navbar-wjs .navbar-nav > .disabled > a,
.navbar-wjs .navbar-nav > .disabled > a:hover,
.navbar-wjs .navbar-nav > .disabled > a:focus {
    color: #444;
    background-color: transparent;
}

.navbar-wjs .navbar-toggle {
    margin-top: 23px;
    margin-bottom: 23px;
    border-color: #ddd;
}

.navbar-wjs .navbar-toggle:hover,
.navbar-wjs .navbar-toggle:focus {
    background-color: #333;
}

.navbar-wjs .navbar-toggle .icon-bar {
    background-color: #888;
}

.navbar-wjs .navbar-collapse,
.navbar-wjs .navbar-form {
    border-color: #101010;
}

.navbar-wjs .navbar-nav > .open > a,
.navbar-wjs .navbar-nav > .open > a:hover,
.navbar-wjs .navbar-nav > .open > a:focus {
    color: #fff;
    background-color: #080808;
}

